<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <title>Debug | Inner Core 0.1 文档</title>
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato:400,700,400italic">
  <link rel="stylesheet" href="assets/style.css">
  <link rel="stylesheet" href="assets/sh.css">
  <link rel="canonical" href="https://nodejs.org/api/Debug.html">
</head>
<body class="alt apidoc" id="api-section-Debug">
  <div id="content" class="clearfix">
    <div id="column2" class="interior">
      <div id="intro" class="interior">
        <a href="/" title="返回首页">
          Inner Core
        </a>
      </div>
      <ul>
<li><a class="nav-http-www-w3school-com-cn-js-pro_js_syntax-asp" href="http://www.w3school.com.cn/js/pro_js_syntax.asp">W3CSchool - ECMAScript教程</a></li>
<li><a class="nav-http-es6-ruanyifeng-com-README" href="http://es6.ruanyifeng.com/#README">阮一峰 - ECMAScript教程</a></li>
</ul>
<div class="line"></div>

<ul>
<li><a class="nav-Globals" href="Globals.html">Globals - 一般全局函数</a></li>
<li><a class="nav-FileTools" href="FileTools.html">Files - 文件系统</a></li>
<li><p><a class="nav-Debug active" href="Debug.html">Debug - 调试</a></p>
</li>
<li><p><a class="nav-https-developer-mozilla-org-zh-CN-docs-Mozilla-Projects-Rhino-Scripting_Java" href="https://developer.mozilla.org/zh-CN/docs/Mozilla/Projects/Rhino/Scripting_Java">Work with Java - 调用Java API</a></p>
</li>
</ul>
<div class="line"></div>

<ul>
<li><a class="nav-https-gitee-com-dazeyoooo-ICore-Docs" href="https://gitee.com/dazeyoooo/ICore-Docs">Gitee项目 &amp; Issue提交</a></li>
</ul>

    </div>

    <div id="column1" data-id="Debug" class="interior">
      <header>
        <h1>Inner Core 0.1 文档</h1>
        <div id="gtoc">
          <p>
            <a href="index.html" name="toc">索引</a> |
            <a href="all.html">查看全部</a>
          </p>
        </div>
        <hr>
      </header>

      <div id="toc">
        <h2>目录</h2>
        <ul>
<li><span class="stability_2"><a href="#debug_debug">Debug</a></span><ul>
<li><span class="stability_undefined"><a href="#debug_debug_addparticle_x_y_z_id_vx_vy_vz_data">Debug.addParticle(x, y, z, id, vx, vy, vz, data)</a></span></li>
<li><span class="stability_undefined"><a href="#debug_debug_message_message">Debug.message(message)</a></span></li>
<li><span class="stability_undefined"><a href="#debug_debug_warning_message">Debug.warning(message)</a></span></li>
<li><span class="stability_undefined"><a href="#debug_debug_error_message">Debug.error(message)</a></span></li>
<li><span class="stability_undefined"><a href="#debug_debug_systime">Debug.sysTime()</a></span></li>
<li><span class="stability_undefined"><a href="#debug_debug_m">Debug.m()</a></span></li>
<li><span class="stability_undefined"><a href="#debug_debug_bitmap_bitmap_title">Debug.bitmap(bitmap, title)</a></span></li>
</ul>
</li>
</ul>

      </div>

      <div id="apicontent">
        <h1>Debug<span><a class="mark" href="#debug_debug" id="debug_debug">#</a></span></h1>
<div class="api_stability api_stability_2"><a href="documentation.html#documentation_stability_index">Stability: 2</a> - Debug模块主要提供了显示数据的方式</div><h2>Debug.addParticle(x, y, z, id, vx, vy, vz, data)<span><a class="mark" href="#debug_debug_addparticle_x_y_z_id_vx_vy_vz_data" id="debug_debug_addparticle_x_y_z_id_vx_vy_vz_data">#</a></span></h2>
<div class="signature"><ul>
<li><code>x</code> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type" class="type">&lt;Number&gt;</a> X轴坐标</li>
<li><code>y</code> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type" class="type">&lt;Number&gt;</a> Y轴坐标</li>
<li><code>z</code> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type" class="type">&lt;Number&gt;</a> Z轴坐标</li>
<li><code>id</code> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type" class="type">&lt;Number&gt;</a> 粒子类型</li>
<li><code>vx</code> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type" class="type">&lt;Number&gt;</a> X轴速度</li>
<li><code>vy</code> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type" class="type">&lt;Number&gt;</a> Z轴速度</li>
<li><code>vz</code> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type" class="type">&lt;Number&gt;</a> Z轴速度</li>
<li><code>data</code> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type" class="type">&lt;Number&gt;</a> 数据值</li>
</ul>
</div><p>生成粒子</p>
<p>与Particles.addParticle效果相同</p>
<h2>Debug.message(message)<span><a class="mark" href="#debug_debug_message_message" id="debug_debug_message_message">#</a></span></h2>
<div class="signature"><ul>
<li><code>message</code> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type" class="type">&lt;string&gt;</a> 显示的文字</li>
</ul>
</div><p>聊天栏输出以&quot;DEBUG: &quot;为开头的深绿色文本</p>
<h2>Debug.warning(message)<span><a class="mark" href="#debug_debug_warning_message" id="debug_debug_warning_message">#</a></span></h2>
<div class="signature"><ul>
<li><code>message</code> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type" class="type">&lt;string&gt;</a> 显示的文字</li>
</ul>
</div><p>聊天栏输出以&quot;WARNING: &quot;为开头的黄色文本</p>
<h2>Debug.error(message)<span><a class="mark" href="#debug_debug_error_message" id="debug_debug_error_message">#</a></span></h2>
<div class="signature"><ul>
<li><code>message</code> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type" class="type">&lt;string&gt;</a> 显示的文字</li>
</ul>
</div><p>聊天栏输出以&quot;ERROR: &quot;为开头的暗红色文本</p>
<h2>Debug.sysTime()<span><a class="mark" href="#debug_debug_systime" id="debug_debug_systime">#</a></span></h2>
<h2>Debug.m()<span><a class="mark" href="#debug_debug_m" id="debug_debug_m">#</a></span></h2>
<h2>Debug.bitmap(bitmap, title)<span><a class="mark" href="#debug_debug_bitmap_bitmap_title" id="debug_debug_bitmap_bitmap_title">#</a></span></h2>

      </div>
    </div>
  </div>
  <script src="assets/sh_main.js"></script>
  <script src="assets/sh_javascript.min.js"></script>
  <script>highlight(undefined, undefined, 'pre');</script>
  <!-- __TRACKING__ -->
</body>
</html>